
    <div class="mod-search cf" id="applySearch">
        <form class="fl">
            <ul class="ul-inline">
                <li>
                    <input type="text" ms-duplex="query.keyword" class="ui-input con" value="" placeholder="请输入业务名称">
                </li>
                <li>
                    <label>制单日期:</label>
                    <input type="text" ms-duplex="start_date" class="ui-input ui-datepicker-input" placeholder="起始日期" onclick="laydate()">
                    <span>-</span>
                    <input type="text" ms-duplex="end_date" class="ui-input ui-datepicker-input" placeholder="截止日期" onclick="laydate()">
                </li>
                <li>
                    <button class="ui-btn" id="search" title="查询"><i class="fa fa-search"></i></button>
                    <button class="ui-btn" id="refresh" title="重置查询条件"><i class="fa fa-refresh"></i></button>
                </li>
            </ul>
        </form>
        <div id="fileUploadDiv2" style="display: none;">
            <!-- Upload file form -->
            <form id="upload-file-form">
                <label for="upload-file-input">Upload your file:</label>
                <input id="upload-file-input" type="file" name="uploadfile" accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ms-change="uploadfile" />
                <br />
                <span id="upload-file-message"></span>
            </form>
        </div>
        <div class="fr">
            <a class="ui-btn ui-btn-sp mrb" id="add" title="新增"><i class="fa fa-plus"></i></a>
            <a class="ui-btn mrb" id="btn-batchDel" title="删除"><i class="fa red fa-trash-o"></i></a>
        </div>
    </div>

    <div id="editApply" style="display:none;">
        <form id="applyForm" class="form-dl">
            <table>
                <tr>
                    <td class="left">
                        <label for="ywlx">业务类型:</label>
                    </td>
                    <td class="short applay_td">
                        <select id="applyType" name="applyType" ms-duplex="apply.applyType" ms-each-el="typeDicts">
                            <option ms-attr-value="el.value">{{el.text}}</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="www">提运单号:</label>
                    </td>
                    <td class="short applay_td">
                        <input type="text" id="mBillNo" name="mBillNo" class="text" ms-duplex="apply.mBillNo" />
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="username">委托人:</label>
                    </td>
                    <td class="short applay_td">
                        <input type="text" id="departname" name="departname" class="text" ms-duplex="departname" />
                        <a href="javascript:void(0);" id="addDepart">新建</a>
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="www">业务名称:</label>
                    </td>
                    <td class="short applay_td">
                        <input type="text" id="applyName" name="applyName" class="text" readonly="readonly" ms-duplex="apply.applyName" />
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="ewew">运输方式:</label>
                    </td>
                    <td class="short applay_td">
                        <select id="shipType" name="shipType" ms-duplex="apply.shipType" ms-each-el="modelDicts">
                            <option ms-attr-value="el.value">{{el.text}}</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="teee">进出境标志:</label>
                    </td>
                    <td class="short applay_td">
                        <input type="radio" ms-duplex-string="apply.imSign" name="imSign" value="I" checked="checked" />进口
                        <input type="radio" ms-duplex-string="apply.imSign" name="imSign" value="E" />出口
                    </td>
                </tr>
                <tr>
                    <td class="left">
                        <label for="teee">进出口岸代码:</label>
                    </td>
                    <td class="short applay_td">
                        <select id="port" name="port" ms-duplex="apply.port" ms-each-el="dictItems">
                            <option ms-attr-value="el.itemCode">{{el.itemName}}</option>
                        </select>
                        <!--                     <a href="javascript:void(0);" ms-click="test()">测试</a> -->
                    </td>
                </tr>
                <tr>
                    <td class="top">
                        <label for="con">描述:</label>
                    </td>
                    <td>
                        <textarea id="con" ms-duplex="apply.memo"></textarea>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <!--组织结构添加-->
    <div id="AddDepart" style="display: none;">
        <!--style="display:none;"-->
        <form id="addDepartForm" class="form-dl">
            <table>
                <tr>
                    <td class="depart_right">
                        <label for="deptLevel_NR">级别:</label>
                    </td>
                    <td class="short">
                        <select ms-duplex="depart.deptLevel_NR" id="deptLevel_NR" name="deptLevel_NR" ms-each-el="departLevelValue">
                            <option ms-attr-value="el.value">{{el.text}}</option>
                        </select>
                        <!--<select ms-duplex="firstSelected">
                                    <option ms-repeat="dicts">{{el}}</option>
                                </select>-->
                    </td>
                    <td class="depart_right">
                        <label class="depart_right_label" for="dpeartParentName">上级组织结构:</label>
                    </td>
                    <td class="short">
                        <input type="text" id="dpeartParentName" name="dpeartParentName" ms-duplex="dpeartParentName" />
                        <!--<select ms-duplex="firstSelected">
                                    <option ms-repeat="dicts">{{el}}</option>
                                </select>-->
                    </td>
                    <td><span class="notice">提示信息</span></td>
                    <td><span class="notice wrong">出错信息</span></td>
                </tr>
                <tr>
                    <td class="depart_right">
                        <label for="departName">组织机构名称:</label>
                    </td>
                    <td class="short" colspan="4">
                        <input type="text" id="depart_departName" name="departName" class="departName" ms-duplex="depart.departName" />
                    </td>
                    <td><span class="notice">提示信息</span></td>
                    <td><span class="notice wrong">出错信息</span></td>
                </tr>
                <tr>
                    <td class="depart_right">
                        <label for="memo_TX">组织机构简称:</label>
                    </td>
                    <td class="short">
                        <input type="text" id="depart_memo_TX" class="text" name="memo_TX" ms-duplex="depart.memo_TX" />
                    </td>
                    <td class="depart_right">
                        <label class="depart_right_label" for="tagName">索引码:</label>
                    </td>
                    <td class="short">
                        <input type="text" id="tagName" name="tagName" class="text" ms-duplex="depart.tagName" />
                    </td>
                    <td><span class="notice">提示信息</span></td>
                    <td><span class="notice wrong">出错信息</span></td>
                </tr>
                <tr>
                    <td class="depart_right">
                        <label for="departCD">企业代码:</label>
                    </td>
                    <td class="short">
                        <input type="text" id="departCD" name="departCD" class="text" ms-duplex="depart.departCD" />
                    </td>
                    <td class="depart_right">
                        <label class="depart_right_label" for="prefix">面单前缀:</label>
                    </td>
                    <td class="short">
                        <input type="text" id="prefix" name="prefix" class="text" ms-duplex="depart.prefix" />
                    </td>
                    <td><span class="notice">提示信息</span></td>
                    <td><span class="notice wrong">出错信息</span></td>
                </tr>
                <tr>
                    <td class="depart_right">
                        <label for="teee">企业类型:</label>
                    </td>
                    <td class="short">
                        <input type="radio" ms-duplex-string="depart.departType" name="departType" value="0" />&nbsp;&nbsp;海关注册企业
                    </td>
                    <td class="short">
                        <input type="radio" ms-duplex-string="depart.departType" name="departType" value="1" />&nbsp;&nbsp;电商企业
                    </td>
                    <td class="short">
                        <input type="radio" ms-duplex-string="depart.departType" name="departType" value="2" checked="checked" />&nbsp;&nbsp;一般企业或个人
                    </td>
                    <td><span class="notice">提示信息</span></td>
                    <td><span class="notice wrong">出错信息</span></td>
                </tr>
                <tr>
                    <td class="top">
                        <label for="con">备注:</label>
                    </td>
                    <td colspan="4">
                        <textarea class="description"></textarea>
                    </td>
                </tr>
            </table>
        </form>
    </div>
